using MediatR;
using ProduceBasicData.Api.DTO;
using ProduceBasicData.ErrorCode;

namespace ProduceBasicData.Api.Application.Command.Material.Craft
{
    /// <summary>
    /// 工艺路线选择命令类（用于下拉框）
    /// </summary>
    public class GetCraftSelectCommand : IRequest<ApiResult<List<CraftSelectDTO>>>
    {
        /// <summary>
        /// 是否只获取启用的工艺路线
        /// </summary>
        public bool OnlyEnabled { get; set; } = true;
    }
}
